<!DOCTYPE html>
<html>
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="utf-8">
  
  <title>Javascript Snippets | gdme1320 的笔记</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="Table of Contents   Javascript Snipets  parse asp time html 去除标签 create dom 邮件正则表达式 获取IP（需要外部服务器支持）       Javascript Snipets    parse asp time   function ParseAspnetTime(rawTime) {         return e">
<meta property="og:type" content="article">
<meta property="og:title" content="Javascript Snippets">
<meta property="og:url" content="http://gdme1320.gitee.com/js/js-snippets/index.html">
<meta property="og:site_name" content="gdme1320 的笔记">
<meta property="og:description" content="Table of Contents   Javascript Snipets  parse asp time html 去除标签 create dom 邮件正则表达式 获取IP（需要外部服务器支持）       Javascript Snipets    parse asp time   function ParseAspnetTime(rawTime) {         return e">
<meta property="og:locale" content="default">
<meta property="og:updated_time" content="2022-03-23T09:59:13.769Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Javascript Snippets">
<meta name="twitter:description" content="Table of Contents   Javascript Snipets  parse asp time html 去除标签 create dom 邮件正则表达式 获取IP（需要外部服务器支持）       Javascript Snipets    parse asp time   function ParseAspnetTime(rawTime) {         return e">
  
    <link rel="alternate" href="/atom.xml" title="gdme1320 的笔记" type="application/atom+xml">
  
  
  
    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  

  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" integrity="sha384-XdYbMnZ/QjLh6iI4ogqCTaIjrFk87ip+ekIjefZch0Y+PvJ8CDYtEs1ipDmPorQ+" crossorigin="anonymous">

  <link rel="stylesheet" href="/css/styles.css">
  <link rel="stylesheet" href="/css/docs.min.css">
  

</head>
</html>
<body>
  <nav class="navbar navbar-inverse">
  <div class="container">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#main-menu-navbar" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="main-menu-navbar">
      <ul class="nav navbar-nav">
        
          <li><a class href="/index.html">Home</a></li>
        
          <li><a class href="/archives/">Archives</a></li>
        
      </ul>

      <!--
      <ul class="nav navbar-nav navbar-right">
        
          <li><a href="/atom.xml" title="RSS Feed"><i class="fa fa-rss"></i></a></li>
        
      </ul>
      -->
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>

  <div class="container bs-docs-container">
  
    <div class="row">
        <div class="col-sm-8 blog-main">
          <article id="post-js/js-snippets" class="article article-type-post" itemscope itemprop="blogPost">

  <header class="article-header">
    
  
    <h1 class="article-title" itemprop="name">
      Javascript Snippets
    </h1>
  


  </header>

  <div class="article-meta">
    <div class="article-datetime">
  <a href="/js/js-snippets/" class="article-date"><time datetime="1970-01-01T00:00:02.017Z" itemprop="datePublished">1970-01-01</time></a>
</div>

    
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/js/">js</a>
  </div>


  </div>
  <div class="article-inner">

    <div class="article-entry" itemprop="articleBody">
      
        
<div id="content">
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org31258bf">Javascript Snipets</a>
<ul>
<li><a href="#parse-asp-time">parse asp time</a></li>
<li><a href="#html-去除标签">html 去除标签</a></li>
<li><a href="#create-dom">create dom</a></li>
<li><a href="#邮件正则表达式">邮件正则表达式</a></li>
<li><a href="#获取ip需要外部服务器支持">获取IP（需要外部服务器支持）</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="outline-2" id="outline-container-org31258bf">
<h2 id="org31258bf">Javascript Snipets</h2>
<div class="outline-text-2" id="text-org31258bf">
</div>
<div class="outline-3" id="outline-container-orge04a6d2">
<h3 id="parse-asp-time"><a id="orge04a6d2"></a>parse asp time</h3>
<div class="outline-text-3" id="text-parse-asp-time">
<pre class="example">
function ParseAspnetTime(rawTime) {
        return eval('(' + rawTime.replace(/\/Date\((\d+)\)\//gi, "new Date($1)") + ')');
}
function getTimeStr_1(time) {
    return time.getFullYear() + '-' + (time.getMonth() + 1) + '-' + time.getDate();
}
function getTimeStr_2(time) {
    return time.getHours() + ":" + time.getMinutes() + ":" + time.getSeconds();
}
var time = eval('(' + rawTime.replace(/\/Date\((\d+)\)\//gi, "new Date($1)") + ')');
return time.getFullYear() + '-' + (time.getMonth()+ 1) + '-' + time.getDay() + ' '
        +time.getHours() + ":"+time.getMinutes()+":"+time.getSeconds();
</pre>
</div>
</div>
<div class="outline-3" id="outline-container-orgae8aa65">
<h3 id="html-去除标签"><a id="orgae8aa65"></a>html 去除标签</h3>
<div class="outline-text-3" id="text-html-去除标签">
<pre class="example">
function extraHTML(str) {
    str = str.replace(/&lt;(img)[^&gt;]*&gt;|&lt;\/(img)&gt;/g, '');
    str = str.replace(/&lt;(table|tbody|tr|td|th|)[^&gt;]*&gt;|&lt;\/(table|tbody|tr|td|th|)&gt;/g, '');
    str = str.replace(/&lt;(div|blockquote|fieldset|legend)[^&gt;]*&gt;|&lt;\/(div|blockquote|fieldset|legend)&gt;/g, '');
    str = str.replace(/&lt;(font|i|u|h[1-9]|s)[^&gt;]*&gt;|&lt;\/(font|i|u|h[1-9]|s)&gt;/g, '');
    str = str.replace(/&lt;(style|strong)[^&gt;]*&gt;|&lt;\/(style|strong)&gt;/g, '');
    str = str.replace(/&lt;a[^&gt;]*&gt;|&lt;\/a&gt;/g, '');
    str = str.replace(/&lt;(meta|iframe|frame|span|tbody|layer)[^&gt;]*&gt;|&lt;\/(iframe|frame|meta|span|tbody|layer)&gt;/g, '');
    str = str.replace(/&lt;a[^&gt;]*/g, '');
    return str;
}
</pre>
</div>
</div>
<div class="outline-3" id="outline-container-org6ab6eee">
<h3 id="create-dom"><a id="org6ab6eee"></a>create dom</h3>
<div class="outline-text-3" id="text-create-dom">
<pre class="example">
var CWndBase = function () {
    /*
    Name:element's name
    Attributes:element's attributes
    Text:text content in node
    Style:apply style to the dom.
    Dom:If dom is speified,then append dom instead of creating.
    Childs:child nodes
    */
    this.createDom = function (domDataObj) {
        var dom;
        if (domDataObj.Dom) {
            dom = domDataObj.Dom;
        }
        else {
            dom = document.createElement(domDataObj.Name);
            if (domDataObj.Text) {
                dom.innerHTML = domDataObj.Text;
            }
            if (domDataObj.Style) {
                for (var s in domDataObj.Style) {
                    dom.style[s] = domDataObj.Style[s];
                }
            }
        }
        if (domDataObj.Attributes) {
            for (var attr in domDataObj.Attributes) {
                var value = domDataObj.Attributes[attr]
                dom[attr] = value;
            }
        }
        if (domDataObj.Childs) {
            for (var i = 0; i &lt; domDataObj.Childs.length; i++) {
                dom.appendChild(this.createDom(domDataObj.Childs[i]));
            }
        }
        return dom;
    }
    /*
    2-dimension array of:{}
    Attributes:element's attributes
    Text:text content in node
    Childs:child nodes
    */
    this.createTable = function (tableObj) {
        var table = document.createElement('table');
        for (var i = 0; i &lt; tableObj.length; i++) {
            var row = table.insertRow();
            for (var j = 0; j &lt; tableObj[i].length; j++) {
                var cell = row.insertCell();
                var data = tableObj[i][j];
                if (data.Text) {
                    cell.innerHTML = data.Text;
                }
                if (data.Attributes) {
                    for (var prop in data.Attributes) {
                        cell[prop] = data.Attributes[prop];
                    }
                }
                if (data.Childs) {
                    for (var k = 0; k &lt; data.Childs.length; k++) {
                        cell.appendChild(this.createDom(data.Childs[k]));
                    }
                }
            }
        }
        return table;
    }

    this.geneObjFromDom = function(id){
        return geneObjFromDomProc(id);
    }

    function geneObjFromDomProc(id){
        var retn = {};
        var dom = document.getElementById(id);
        var nodeName = dom.nodeName;
        if(nodeName === 'table'){

        }
        else{
            retn.Name = nodeName;
            retn.Styles = dom.style;
            retn.Text = dom.innerText;
            retn.Attributes = {};            
            for(var i = 0;i&lt;dom.attributes.length;i++){
                retn.Attributes[dom.attributes[i].name] = dom.attributes[i].value;
            }
            retn.Childs = [];
            for(var i = 0;i&lt;dom.childElementCount;i++){
                retn.Childs.push(this.geneObjFromDom(dom.childNodes[i]));
            }
        }
    }
}
</pre>
</div>
</div>
<div class="outline-3" id="outline-container-orgfbf817a">
<h3 id="邮件正则表达式"><a id="orgfbf817a"></a>邮件正则表达式</h3>
<div class="outline-text-3" id="text-邮件正则表达式">
<pre class="example">
var Regex = /^(\w)+(\.\w+)*@(\w)+((\.\w+)+)$/;
Regex.test('gdme1320.sldkf@qq.com');
</pre>
<pre class="example">
var Regex = /^[\w-]+(\.[\w-]+)*@[\w-]+((\.[\w-]+)+)$/;  
var Regex = /([\w-]{1,})@([\w-]{1,}\.)(\w.{1,})/;
Regex.test('123@as.ki-d.com');
</pre>
<pre class="example">
//摘自微软demo https://msdn.microsoft.com/zh-cn/library/938d9dz2%28v=vs.90%29.aspx#
Regex.IsMatch(email, @"^([\w-]+\.)*?[\w-]+@[\w-]+\.([\w-]+\.)*?[\w]+$");
</pre>
</div>
</div>
<div class="outline-3" id="outline-container-orga24d918">
<h3 id="获取ip需要外部服务器支持"><a id="orga24d918"></a>获取IP（需要外部服务器支持）</h3>
<div class="outline-text-3" id="text-获取ip需要外部服务器支持">
<pre class="example">
var uip = '8.8.8.8';
$.getScript('http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js&amp;ip='+uip, function(_result){
    var ipData = ""; //初始化保存内容变量
    if (remote_ip_info.ret == '1'){
        ipData += "IP 详细信息：&lt;br&gt;";
        ipData += "IP：" + uip + "&lt;br&gt;";
        ipData += "国家：" + remote_ip_info.country + "&lt;br&gt;";
        ipData += "省份：" + remote_ip_info.province + "&lt;br&gt;";
        ipData += "城市：" + remote_ip_info.city + "&lt;br&gt;";
        ipData += "区：" + remote_ip_info.district + "&lt;br&gt;";
        ipData += "ISP：" + remote_ip_info.isp + "&lt;br&gt;";
        ipData += "类型：" + remote_ip_info.type + "&lt;br&gt;";
        ipData += "其他：" + remote_ip_info.desc + "&lt;br&gt;";
        $("#sina_ip_info").html(ipData); //显示处理后的数据
    } else {
        alert('错误', '没有找到匹配的 IP 地址信息！');
    }
});

jQuery(function($){  
   var url = 'http://chaxun.1616.net/s.php?type=ip&amp;output=json&amp;callback=?&amp;_=' + Math.random();
    $.getJSON(url, function (data) {
        alert("a");
        alert(JSON.stringify(data));
       $(".position-text").text(data.Isp);
          });  
});
</pre>
</div>
</div>
</div>
</div>
<div class="status" id="postamble">
<p class="date">Date: 2017</p>
<p class="author">Author: gdme1320</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer" target="_blank" rel="noopener">Validate</a></p>
</div>

      
    </div>

    
      

    

    <footer class="article-footer">
      <a data-url="http://gdme1320.gitee.com/js/js-snippets/" data-id="cl13eo7ju0085hjv4koceyups" class="article-share-link">
        <i class="fa fa-share"></i> Share
      </a>
      
      

    </footer>
  </div>
  
    
<ul id="article-nav" class="nav nav-pills nav-justified">
  
  <li role="presentation">
    <a href="/js/ajax-without-jquery/" id="article-nav-older" class="article-nav-link-wrap">
      <i class="fa fa-chevron-left pull-left"></i>
      <span class="article-nav-link-title">Ajax without JQuery</span>
    </a>
  </li>
  
  
  <li role="presentation">
    <a href="/node/snippets/" id="article-nav-newer" class="article-nav-link-wrap">
      <span class="article-nav-link-title">NodeJS笔记</span>
      <i class="fa fa-chevron-right pull-right"></i>
    </a>
  </li>
  
</ul>


  
</article>




        </div>
        <div class="col-sm-3 col-sm-offset-1 blog-sidebar">
          
  
  <div class="sidebar-module">
    <h4>Categories</h4>
    <ul class="sidebar-module-list"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/apps/">apps</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/architecture/">architecture</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/devops/">devops</a><span class="sidebar-module-list-count">10</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/devops/kubectl/">kubectl</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/devops/kubernetes/">kubernetes</a><span class="sidebar-module-list-count">3</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/dotnet/">dotnet</a><span class="sidebar-module-list-count">3</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/dotnet/entityframework/">entityframework</a><span class="sidebar-module-list-count">1</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/elasticsearch/">elasticsearch</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/emacs/">emacs</a><span class="sidebar-module-list-count">4</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/emacs/org-mode/">org-mode</a><span class="sidebar-module-list-count">3</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/git/">git</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/graphql/">graphql</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/groovy/">groovy</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/">java</a><span class="sidebar-module-list-count">52</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/concurrent/">concurrent</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/jackson/">jackson</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/shiro/">shiro</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/spring/">spring</a><span class="sidebar-module-list-count">11</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/spring-amqp/">spring-amqp</a><span class="sidebar-module-list-count">5</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/spring-amqp/spring-jpa/">spring-jpa</a><span class="sidebar-module-list-count">1</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/spring-jpa/">spring-jpa</a><span class="sidebar-module-list-count">10</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/spring-security/">spring-security</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/thymeleaf/">thymeleaf</a><span class="sidebar-module-list-count">2</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/java/thymeleaf/maven/">maven</a><span class="sidebar-module-list-count">1</span></li></ul></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/jenkins/">jenkins</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/journal/">journal</a><span class="sidebar-module-list-count">7</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/js/">js</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/">linux</a><span class="sidebar-module-list-count">35</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/kde/">kde</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/kross/">kross</a><span class="sidebar-module-list-count">3</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/kross/ktorrent-scripts/">ktorrent-scripts</a><span class="sidebar-module-list-count">1</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/shell/">shell</a><span class="sidebar-module-list-count">6</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/linux/tcp/">tcp</a><span class="sidebar-module-list-count">1</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/lisp/">lisp</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/mongodb/">mongodb</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/mssql/">mssql</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/mysql/">mysql</a><span class="sidebar-module-list-count">12</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/nginx/">nginx</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/node/">node</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/postgresql/">postgresql</a><span class="sidebar-module-list-count">2</span><ul class="sidebar-module-list-child"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/postgresql/client/">client</a><span class="sidebar-module-list-count">1</span></li></ul></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/python/">python</a><span class="sidebar-module-list-count">19</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/regex/">regex</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/rfc/">rfc</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/vim/">vim</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/categories/windows/">windows</a><span class="sidebar-module-list-count">7</span></li></ul>
  </div>



  
  <div class="sidebar-module">
    <h4>Tags</h4>
    <ul class="sidebar-module-list"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/tags/ReentrantLock/">ReentrantLock</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/tags/nohup/">nohup</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/tags/pandoc/">pandoc</a><span class="sidebar-module-list-count">1</span></li></ul>
  </div>



  
  <div class="sidebar-module">
    <h4>Tag Cloud</h4>
    <p class="tagcloud">
      <a href="/tags/ReentrantLock/" style="font-size: 10px;">ReentrantLock</a> <a href="/tags/nohup/" style="font-size: 10px;">nohup</a> <a href="/tags/pandoc/" style="font-size: 10px;">pandoc</a>
    </p>
  </div>


  
  <div class="sidebar-module">
    <h4>Archives</h4>
    <ul class="sidebar-module-list"><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2919/06/">June 2919</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2022/03/">March 2022</a><span class="sidebar-module-list-count">58</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2022/01/">January 2022</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/11/">November 2021</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/10/">October 2021</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/04/">April 2021</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/03/">March 2021</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/02/">February 2021</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2021/01/">January 2021</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/12/">December 2020</a><span class="sidebar-module-list-count">2</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/11/">November 2020</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/10/">October 2020</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/09/">September 2020</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/07/">July 2020</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/06/">June 2020</a><span class="sidebar-module-list-count">10</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/04/">April 2020</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/03/">March 2020</a><span class="sidebar-module-list-count">8</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/02/">February 2020</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2020/01/">January 2020</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/12/">December 2019</a><span class="sidebar-module-list-count">7</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/11/">November 2019</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/10/">October 2019</a><span class="sidebar-module-list-count">11</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/09/">September 2019</a><span class="sidebar-module-list-count">6</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/08/">August 2019</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/07/">July 2019</a><span class="sidebar-module-list-count">10</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/06/">June 2019</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/05/">May 2019</a><span class="sidebar-module-list-count">3</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/04/">April 2019</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/03/">March 2019</a><span class="sidebar-module-list-count">8</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/02/">February 2019</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2019/01/">January 2019</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/11/">November 2018</a><span class="sidebar-module-list-count">4</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/10/">October 2018</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/08/">August 2018</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/07/">July 2018</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/06/">June 2018</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2018/03/">March 2018</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2017/07/">July 2017</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2017/06/">June 2017</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2017/04/">April 2017</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/2015/05/">May 2015</a><span class="sidebar-module-list-count">1</span></li><li class="sidebar-module-list-item"><a class="sidebar-module-list-link" href="/archives/1970/01/">January 1970</a><span class="sidebar-module-list-count">9</span></li></ul>
  </div>



  
  <div class="sidebar-module">
    <h4>Recents</h4>
    <ul class="sidebar-module-list">
      
        <li>
          <a href="/java/acessing-generic-types-at-runtime/">获取泛型类型</a>
        </li>
      
        <li>
          <a href="/linux/shell/bash_cgi/">Script for Shell Parsing Parameters</a>
        </li>
      
        <li>
          <a href="/linux/shell/shell-script/">Shell Script Getting Start</a>
        </li>
      
        <li>
          <a href="/linux/tcp/network-tcp-performance-turning-with-sysctl/">【翻译】Sysctl调节Linux网络性能</a>
        </li>
      
        <li>
          <a href="/java/concurrent/aqs-src/">AQS源码笔记</a>
        </li>
      
    </ul>
  </div>



        </div>
    </div>
  </div>
  <footer class="blog-footer">
  <div class="container">
    <div id="footer-info" class="inner">
      &copy; 2022 gdme1320<br>
      Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>

  

<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" integrity="sha384-8gBf6Y4YYq7Jx97PIqmTwLPin4hxIzQw5aDmUg/DDhul9fFpbbLcLh3nTIIDJKhx" crossorigin="anonymous"></script> -->

<script src="/js/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>



<script src="/js/script.js"></script>

</body>
</html>
